package com.huitu.whht.base.core.api.wrem.nearby.entities;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;


import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.huitu.whht.api.core.common.base.MyLocalDateTimeDeserializer;
import com.huitu.whht.api.core.common.base.MyLocalDateTimeSerializer;
import java.time.LocalDateTime;

/**
 * 说明: 应急事件周边信息表实体类,表名称: T_WHHT_WREM_NEARBY_OBJECT_B <br/>
 * 日期: 2019-04-15
 * @author LiuCW
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class WremNearbyObjectB extends WremNearbyObjectBKey {

private static final long serialVersionUID = 4L;
    public WremNearbyObjectB(){

    }

    /**
      * 应急事件代码
      */
    public String eventId;
    /**
      * 对象类型(WIU,WIUST,SWS等)
      */
    public String objTp;
    /**
      * 对象编码
      */
    public String objId;
    /**
      * 时间戳
      */
    @JsonDeserialize(using = MyLocalDateTimeDeserializer.class)
    @JsonSerialize(using = MyLocalDateTimeSerializer.class)
    public LocalDateTime ts;
}